package cn.edu.scau.cmi.ChenKaihui.abstractFactory.factory;

import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PingAnAccidentInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PingAnCasualtyInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PingAnPhysicalInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domain.PingAnVehicleInsurance;
import cn.edu.scau.cmi.ChenKaihui.abstractFactory.domainAbstractClass.Insurance;

public class PingAnFactory extends AbstractFactory {

	@Override
	public Insurance isAccidentInsurance() {
		return new PingAnAccidentInsurance();
	}

	@Override
	public Insurance isCasualtyInsurance() {
		return new PingAnCasualtyInsurance();
	}

	@Override
	public Insurance isPhysicalInsurance() {
		return new PingAnPhysicalInsurance();
	}

	@Override
	public Insurance isVehicleInsurance() {
		return new PingAnVehicleInsurance();
	}

}
